package com.huazi.www.yang.fchua.entity;

/**
 * 缴费单实体类
 */
public class Prescription {
    private Integer id;           //编号
    private Integer petientid;    //患者id
    private String timestamp;     //开药时间
    private String drugname;      //药名+数量
    private double drugprice;     //总价

    public Prescription() {

    }

    public Prescription(Integer petientid, String drugname, double drugprice) {
        this.petientid = petientid;
        this.drugname = drugname;
        this.drugprice = drugprice;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPetientid() {
        return petientid;
    }

    public void setPetientid(Integer petientid) {
        this.petientid = petientid;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getDrugname() {
        return drugname;
    }

    public void setDrugname(String drugname) {
        this.drugname = drugname;
    }

    public double getDrugprice() {
        return drugprice;
    }

    public void setDrugprice(double drugprice) {
        this.drugprice = drugprice;
    }
}
